package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Option implements Serializable {

    //主键id
    private Long id;

    //答案option  ,score,qid
    private String  teoption;

    //分值
    private Integer score;

    //
    private Long pid;

}
